package ordinary;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: Wukong
 * Date: 2022-06-03
 * Time: 17:51
 */
public class Message<T> {
    public T message;

    public T getMessage() {
        return message;
    }

    public void setMessage(T message) {
        this.message = message;
    }

    public static void main(String[] args) {
        Message<String> message=new Message<>();
        message.setMessage("通配符");
        fun(message);
    }
    public static void fun(Message<String> message){
        String word=message.getMessage();
    }

}


